home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
001
/
collie12.arc
/
C.BAT
< prev
next >
Wrap
DOS Batch File
|
1986-07-07
|
987b
|
47 lines
REM DELETE THIS LINE AND THE NEXT TWO TO USE
REM IF YOU CALL A BATCH FILE INSTEAD OF PROGRAM NAME BE SURE TO CALL C.BAT
REM AT THE END OF YOUR BATCH FILE
:LOOP
C:
CD \COLOSSUS
CTTY CON
echo off
collie /l120 /d500 /w /m0 /U
if errorlevel 32 GOTO SKEDX
if errorlevel 30 GOTO SKEDW
if errorlevel 28 GOTO SKEDV
if errorlevel 26 GOTO SKEDU
if errorlevel 24 GOTO SKEDT
if errorlevel 22 GOTO SKEDS
if errorlevel 20 GOTO SKEDR
if errorlevel 16 GOTO REMOTE
if errorlevel 1 GOTO LOOP
GOTO END
:REMOTE
echo on
CTTY AUX
COMMAND
GOTO LOOP
:SKEDR
REM PUT YOUR PROGRAM NAME HERE OR BATCH FILE CALLING C.BAT AFTER PROG EXECUTION
GOTO LOOP
:SKEDS
REM PUT YOUR PROGRAM NAME HERE ETC
GOTO LOOP
:SKEDT
REM PUT YOUR PROGRAM NAME HERE ETC
GOTO LOOP
:SKEDU
REM PUT YOUR PROGRAM NAME HERE ETC
GOTO LOOP
:SKEDV
REM PUT YOUR PROGRAM NAME HERE ETC
GOTO LOOP
:SKEDW
REM PUT YOUR PROGRAM NAME HERE ETC
GOTO LOOP
:SKEDX
REM PUT YOUR PROGRAM NAME HERE ETC
GOTO LOOP
:END